﻿using System.Windows;
using System.Windows.Threading;
using _3DTicTacToe.Core;


namespace _3DTicTacToe
{
    public partial class App : Application
    {
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            Log.Add("Application starting", "APP");
        }

        private void Application_Exit(object sender, ExitEventArgs e)
        {

        }

        private void Application_DispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e)
        {
            Log.Add("Unhandled exception: " + e.Exception.Message);
            e.Handled = true;
        }
    }
}
